
pkgname=eventlog
pkgver=0.2.12
_pkgver=0.2
pkgrel=6
pkgdesc="A new API to format and send structured log messages"
arch=('x86_64')
url="http://www.balabit.com/support/community/products/"
license=('BSD')
depends=('glibc')
options=('!libtool')
source=("http://www.balabit.com/downloads/files/eventlog/${_pkgver}/eventlog_${pkgver}.tar.gz")
md5sums=('3d6ebda8a161d36cb40d09328f78786b')

build() {
  cd ${pkgname}-${pkgver}
  
  ./configure --prefix=/usr \
              --sysconfdir=/etc \
              --localstatedir=/var
  make
}

package() {
  cd ${pkgname}-${pkgver}
  
  make DESTDIR=${pkgdir} install 
  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
